<?php
require "../common.php";

$id=$_GET['id'];
mysql_query("delete from `article` where `id` = '$id'");
echo "<script>alert('恭喜你，删除成功！');location.href='article.php';</script>";